package 并发编程源码;

/**
 * TODO
 *
 * @Description
 * @Author Lx
 * @Date 2024/5/28 14:47
 **/
public class testReentrantLock {
    public static void main(String[] args) {
        Count count=new Count(0);
        for(int i=0;i<100;i++){
            count.add();
        }

        System.out.println(count.getCount());
    }
}
